<template>
  <div>
    <!-- 头部开始 -->
    <div class="header">
      <div class="wrapper">
        <!-- logo -->
        <div class="logo">
          <img src="../assets/yxtx/yikeda_news_logo.png" alt="" />
        </div>

        <!--  搜索框加跳转校园网主页 -->
        <!-- <div class="search">
          <div class="tosearch">
            <div class="iputcontent">
              <input type="text" name="" id="" placeholder="请输入关键词" />
            </div>

            <input type="submit" value="" class="submitbtn" />
          </div>
          <a class="jump" href="https://www.gxmu.edu.cn/">校园网主页</a>
        </div> -->
      </div>
    </div>
    <!-- 头部结束 -->
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
// 头部
.header {
  width: 100%;
  height: 100px;
  background-color: #be5b24;
  .wrapper {
    display: flex;
    justify-content: space-between;
    // logo
    .logo {
      width: 321px;
      height: 60px;
      margin-top: 20px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    // 搜索框加跳转校园网主页
    .search {
      display: flex;
      justify-content: space-between;
      box-sizing: border-box;
      width: 490px;
      height: 38px;
      margin-top: 31px;
      // 搜索框
      .tosearch {
        width: 398px;
        height: 100%;
        display: flex;
        justify-content: space-between;
        input {
          border: 0;
          outline: none;
        }
        .iputcontent {
          overflow: hidden;
          width: 338px;
          height: 38px;
          background-color: #fff;
          padding-left: 15px;
          input {
            width: 100%;
            height: 100%;
            font-size: 16px;
            color: #999;
          }
        }
        .submitbtn {
          width: 60px;
          height: 100%;
          background: url("../assets/yxtx/search_img.png") no-repeat;
          background-size: 100% 100%;
          cursor: pointer;
        }
        .submitbtn:hover {
          opacity: 0.9;
        }
      }
      // 跳转到校园网主页
      .jump {
        font-size: 14px;
        color: #fff;
        line-height: 38px;
      }
      .jump:hover {
        text-decoration: underline;
      }
    }
  }
}
</style>